
<table>
	<tr align="center">
		<th width="40">序号</th>
		<th>流水号</th>
		<th>名称</th>
		<th width="40"></th>

		<th>主叫</th>
		<th>被叫</th>
		<th>时长</th>
		<th>费用</th>
		<th>状态</th>
		<th>时间</th>		
	</tr>
	{[foreach name=outer key=key item=item from=$result]} 
	{[assign var="no" value="`$key+$pager->from+1`"]}
	{[assign var="t1" value="`$t1+$item.billsec`"]}
	{[assign var="t2" value="`$t2+$item.cost`"]}
	<tr align="center" onMouseOver="this.style.backgroundColor='#D2E4FC'" onMouseOut="this.style.backgroundColor=''">
		<td>{[$no]}</td>
		<td><a href="javascript:void(0)"
			onclick="Common.dialog_view_('{[$root]}{[$viewLink]}&cdr_s={[$cdr_s]}&id={[$item.uniqueid]}', '查看信息', '550x320')">{[$item.id]}</a></td>
		<td>{[$item.name]}</td>
		<td><a href="javascript:void(0)" onclick="Cdr.popup(event, '{[$p2]}&p={[$p]}', '{[$item.uniqueid]}')">[管理]</a></td>
		<td>{[$item.src]}</td>
		<td>{[$item.dst]}</td>
		<td>{[$item.billtime]}</td>
		<td>{[$item.cost|money]}</td>
		<td>{[$item.status_t]}</td>
		<td>{[$item.createtime|date_format:'%Y-%m-%d %H:%M:%S']}</td>		
	</tr>
	{[/foreach]}
	<tr align="center">
		<td colspan="6"></td>
		<td>{[$t1|time]}</td>
		<td>{[$t2|money]}</td>
		<td colspan="2"></td>
	</tr>
</table>

{[include file="footer.tpl"]}
